<!-- window 详情 -->

<template>
  <div>
    <component
      v-for="(item, name) in detail"
      :key="name"
      :is="name"
      v-model="item.visible"
      :id="item.id"
      :obj="item.obj"
      @close="toClose(name)"
      @change="toChange(name)"
    />
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import mixWindow from '@admin/WindowDetail/mixWindow'
import components from '@admin/WindowDetail/components'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [mixWindow(components)],
}
</script>
